package com.ruoyi.prevention.worker.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检测人员信息对象 sys_worker
 * 
 * @author wad
 * @date 2022-04-06
 */
public class Worker extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员id */
    private Long workerId;

    /** 人员姓名 */
    @Excel(name = "人员姓名")
    private String workerName;

    /** 年龄 */
    @Excel(name = "年龄")
    private String workerAge;

    /** 性别(0男 1女) */
    @Excel(name = "性别(0男 1女)")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 现居住地址 */
    @Excel(name = "现居住地址")
    private String currentAddress;

    /** 当日体温情况 */
    @Excel(name = "当日体温情况")
    private String temperature;

    /** 身体健康情况(0健康 1异常) */
    @Excel(name = "身体健康情况(0健康 1异常)")
    private String isHealth;

    /** 每日核酸检测结果(0阴性 1阳性) */
    @Excel(name = "每日核酸检测结果(0阴性 1阳性)")
    private String nucleicResult;

    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }
    public void setWorkerName(String workerName) 
    {
        this.workerName = workerName;
    }

    public String getWorkerName() 
    {
        return workerName;
    }
    public void setWorkerAge(String workerAge) 
    {
        this.workerAge = workerAge;
    }

    public String getWorkerAge() 
    {
        return workerAge;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCurrentAddress(String currentAddress) 
    {
        this.currentAddress = currentAddress;
    }

    public String getCurrentAddress() 
    {
        return currentAddress;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setIsHealth(String isHealth) 
    {
        this.isHealth = isHealth;
    }

    public String getIsHealth() 
    {
        return isHealth;
    }
    public void setNucleicResult(String nucleicResult) 
    {
        this.nucleicResult = nucleicResult;
    }

    public String getNucleicResult() 
    {
        return nucleicResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workerId", getWorkerId())
            .append("workerName", getWorkerName())
            .append("workerAge", getWorkerAge())
            .append("sex", getSex())
            .append("idCard", getIdCard())
            .append("phone", getPhone())
            .append("currentAddress", getCurrentAddress())
            .append("temperature", getTemperature())
            .append("isHealth", getIsHealth())
            .append("nucleicResult", getNucleicResult())
            .toString();
    }
}
